package org.wangchaocheng.cloudgallery.dto.common;

import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author wangchaocheng
 * @date 2025-03-01
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PageDTO<T> {

    /**
     * 数据
     */
    private List<T> records;

    /**
     * 总页数
     */
    private long total;

}
